<?php
include($_SERVER['DOCUMENT_ROOT']."/ObstacleWebApp/model/config.php");
if(!isset($_SESSION['username'])) {
	header("Location: ".$cfg['basepath']."index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Obstacle - Control Panel</title>
<link rel="icon" type="image/ico" href="<?php echo $cfg['basepath']."images/favicon.ico"; ?> "/>

<link rel="stylesheet" href="<?php echo $cfg['basepath']."styles/stylemain.css"; ?> "/>
<link rel="stylesheet" href="<?php echo $cfg['basepath']."styles/jquery-ui.css"; ?> " />
<script src="<?php echo $cfg['basepath']."javascripts/modernizr-1.6.min.js"; ?>"></script>
<script src="<?php echo $cfg['basepath']."javascripts/jquery-1.8.js"; ?>"></script>
<script src="<?php echo $cfg['basepath']."javascripts/jquery-ui.js"; ?>"></script>
</head>

<body>
<div id="container">

<header>

<h2>Screeningsinstrument met bijhorende databanken<br>In samenwerking met <a href=\"http://www.phl.be\" target=\"_blank\">PHL</a> en <a href=\"http://www.woonlabo.be/\" target=\"_blank\">UD Woonlabo</a></h2>

<h1><a href=" <?php echo $cfg['basepath']."index.php" ?> ">Obstacle</a></h1>

</header>

<?php
	require_once('menu.php');
?>

<article>

<?php
	require_once('login.php');
?>